package com.gengral.commons.annotation;

import com.gengral.commons.constant.Constant;

import java.lang.annotation.*;

/**
 * 自定义系统日志记录注解
 *
 * @author
 * @version Created in 15:04 2020/1/19
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface SysLog {
    /**
     * 描述.
     */
    String description() default "";

    /**
     * 日志级别,默认INFO级别日志.
     */
    String level() default Constant.LOGGER_LEVEL_INFO;
}
